file chooser: Improve search focus handling
authorMatthias Clasen <mclasen@redhat.com>
Fri, 2 Oct 2015 03:32:30 +0000 (23:32 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 2 Oct 2015 03:32:30 +0000 (23:32 -0400)
commit7d4ed3692ed84986dcb02847b083c361454b5267
tree2140375385253515f6b078ecbcbc64d85d7f775b
parent134c2ea799de69a2c81a9c8f4abf139fa28cc6f4
file chooser: Improve search focus handling

Move focus to list when search results appear to make it
possible to select the first search result by just hitting
Enter. To keep this from interfering with keynav, we need
to make sure that we still handle Escape to search. And when
search comes up empty, we need to move the focus back to the
entry.

https://bugzilla.gnome.org/show_bug.cgi?id=755926
gtk/gtkfilechooserwidget.c